package TestAPI;

import Application.Login;
import Application.Category;

public class TestAPI {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		Login l = new Login();
		System.out.println(l.isValidUser("tellabs2", ""));
		
		Category c = new Category();
		c.addCategory(0, "Tellabs");
		c.addCategory(c.getLastId(), "Kring");
		
		//c.updateCategory(10, "Tellabs");
		//System.out.println(c.getName(10));
		
		//System.out.println(c.getParentId(21));
		//System.out.println(c.getParentName(21));	
	}

}
